

package com.hazelcast.partition;

/**
 * PartitionEvent is a base interface for partition related events.
 *
 * @see ReplicaMigrationEvent
 * @see PartitionLostEvent
 */
public interface PartitionEvent {

    /**
     * Returns the partition ID that the event is dispatched for.
     *
     * @return the partition ID that the event is dispatched for
     */
    int getPartitionId();
}
